<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>js运算符</title>
</head>
<body>
<script>
  //==与===
  var a = 1;
  var b = '1';
  var c = true;
  console.log(a==b);//true(只认1 )
  console.log(c==b);//true
  console.log(a===b);//tfalse
  console.log(a==c);//true
  console.log(10==c);//false
</script>
</body>
</html>